//
//  MyVModel.swift
//  Preferential
//
//  Created by Fineland on 2021/3/8.
//
import UIKit

class MyVModel: NSObject {
    
    //当前model对象
    private(set) var data: Array<Array<NSKCellModel>> = []
    
    override init() {
        super.init()
        
        //显示列表
        let tempArray = [
            [
                "tagImage": "my_accounts", "name": "账号管理", "nextClass": "AccountsViewController",
                "cellType": "Z", "showIndicator": 1
            ],
            [
                "tagImage": "my_settings", "name": "设置", "nextClass": "SettingsViewController",
                "cellType": "Z", "showIndicator": 1
            ]
        ]
        //当前展示数据
        let tempObj = tempArray.toModel(NSKCellModel.self)
        data.append(tempObj)
    }
}
